package org.micode.libs.pay.wxpay.enums;

/**
 * 支付状态
 */
public enum PaymentStatusEnum {

    /**
     * 1, "已申请"
     */
    INVOICE(1, "Invoice"),

    /**
     * 2, "充值中"
     */
    RECHARGING(2, "Recharging"),

    /**
     * 9, "充值完成"
     */
    FINISH(9, "Recharge completed"),
    ;

    private Integer code;
    private String name;

    PaymentStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }

}
